import 'package:pigeon/pigeon.dart';

class SearchRequest {
  String? query;
}

class SearchReply {
  String? result;
}

@HostApi()
abstract class Api {
  SearchReply search(SearchRequest request);
}

// 输出配置
// void configurePigeon(PigeonOptions opts) {
//   opts.dartOut = './lib/PigeonDemoMessage.dart';
//   opts.objcHeaderOut = 'ios/Classes/PigeonDemoMessage.h';
//   opts.objcSourceOut = 'ios/Classes/PigeonDemoMessage.m';
//   opts.objcOptions.prefix = 'FLT';
//   opts.javaOut =
//       'android/src/main/kotlin/com/example/video_player/PigeonDemoMessage.java';
//   opts.javaOptions.package = 'package com.example.video_player';
// }
